/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gardengame_simple;

import java.awt.HeadlessException;
import javax.swing.JFrame;

/**
 *
 * @author Student
 */
public class GameFrame extends JFrame {

    public GameFrame() throws HeadlessException {
        this.setVisible(true);
        this.setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        
        this.add(bg);
        bg.drawTiles( this.getGraphics() );
        
        this.pack();
    }
    
    private BoardGraphics bg = new BoardGraphics( );
    //private Tile t = new Tile(true);
}
